package com.tangyuan;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.tangyuan.mapper")
@EnableScheduling //开启定时服务
@EnableAsync
@EnableFeignClients(basePackages = "com.tangyuan.feignapis")
public class RecommendApplication {

    public static void main(String[] args) {
        SpringApplication.run(RecommendApplication.class, args);
        System.out.println("--------------------------------千人千面模块启动--------------------------------");
    }

}
